package com.miaopasi.learn.springcloud.provider.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 服务提供者启动类02
 *
 * @author lixin
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker // Hystrix断路器
public class ProviderHystrixMain {
    public static void main(String[] args) {
        SpringApplication.run(ProviderHystrixMain.class, args);
    }
}
